{{#extends @html/community/base.html}}

{{:title}}{{item.title}}{{/:title}}

{{:community_body}}

	{{@html/layout/layout_3_1.html column_one=@:column_one column_two=@:column_two}}

	{{:column_one}}
	{{!connect "theme/page/common.css"}}
	{{!connect "theme/doctype/issue.css"}}

	<div class="doctype-issue">
		<h1 class="title- doctype-issue-link">{{issue.issue_number}}. {{issue.issue_name}}</h1>
		<div class="date-">{{issue.publish_date|date "%d %M %Y"}}</div>
		<ul class="userbar-">
			{{?issue.acl.item_edit.is_allowed}}
			<li class="edit-"><a href="{{/}}{{community.url}}/{{issue.issue_oid}}/edititem">Редактировать</a></li>
			{{/?}}
			{{?issue.acl.item_delete}}
			<li class="delete-"><a href="{{/}}{{community.url}}/{{issue.issue_oid}}/deleteitem">Удалить</a></li>
			{{/?}}
		</ul>
		<div class="typography">
			<p>{{issue.issue_descr | safe}}</p>
		</div>
		<div class="rubrics-">
			{{!for rubrics do=@:rubric}}
			{{:rubric}}
			<h2 class="header-"><a href="{{/}}{{community.url}}/{{*tdi_url}}" class="s0{{*tdi_color}}-link">{{*tdi_title}}</a></h2>
			<ul class="items-">
				{{!for *items do=@:items_list}}
				{{:items_list}}
					<li><a href="{{/}}{{community.url}}/{{*item_oid}}">{{*title}}</a></li>
				{{/:items_list}}
			</ul>
			{{/:rubric}}
		</div>
	</div>

	{{/:column_one}}

	{{:column_two}}
		{{createbtn}}
		{{widgets}}
	{{/:column_two}}

{{/:community_body}}


{{:layout_main}}
{{/:layout_main}}
